package com.wdmblog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author wdmcode@aliyun.com
 * @version 1.0.0
 * @date 2019/1/11
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("com.wdmblog.*")
@MapperScan("com.wdmblog.dao")
@EnableAspectJAutoProxy(proxyTargetClass = true,exposeProxy = false)
@EnableAutoConfiguration(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
public class UpmsServerServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(UpmsServerServiceApplication.class, args);
    }
}